package com.cainiao.pojo;

/**
 * 
 * Comment
 * 数据库表：comment
 */
public class Comment {

    /**
     * 
     * 表字段 : comment.comment_id
     */
    private Integer commentId;

    /**
     * 
     * 表字段 : comment.user_id
     */
    private Integer userId;

    /**
     * 
     * 表字段 : comment.store_id
     */
    private Integer storeId;

    /**
     * 
     * 表字段 : comment.order_id
     */
    private Integer orderId;

    /**
     * 
     * 表字段 : comment.goods_id
     */
    private Integer goodsId;

    /**
     * 1:商品评论
     * 表字段 : comment.type
     */
    private Boolean type;

    /**
     * 星级
     * 表字段 : comment.comment_rank
     */
    private Boolean commentRank;

    /**
     * 
     * 表字段 : comment.parent_id
     */
    private Integer parentId;

    /**
     * 评论时间
     * 表字段 : comment.add_time
     */
    private Integer addTime;

    /**
     * 
     * 表字段 : comment.content
     */
    private String content;

    /**
     * 获取  字段:comment.comment_id
     *
     * @return comment.comment_id, 
     */
    public Integer getCommentId() {
        return commentId;
    }

    /**
     * 设置  字段:comment.comment_id
     *
     * @param commentId the value for comment.comment_id, 
     */
    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    /**
     * 获取  字段:comment.user_id
     *
     * @return comment.user_id, 
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置  字段:comment.user_id
     *
     * @param userId the value for comment.user_id, 
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取  字段:comment.store_id
     *
     * @return comment.store_id, 
     */
    public Integer getStoreId() {
        return storeId;
    }

    /**
     * 设置  字段:comment.store_id
     *
     * @param storeId the value for comment.store_id, 
     */
    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    /**
     * 获取  字段:comment.order_id
     *
     * @return comment.order_id, 
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 设置  字段:comment.order_id
     *
     * @param orderId the value for comment.order_id, 
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取  字段:comment.goods_id
     *
     * @return comment.goods_id, 
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * 设置  字段:comment.goods_id
     *
     * @param goodsId the value for comment.goods_id, 
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取 1:商品评论 字段:comment.type
     *
     * @return comment.type, 1:商品评论
     */
    public Boolean getType() {
        return type;
    }

    /**
     * 设置 1:商品评论 字段:comment.type
     *
     * @param type the value for comment.type, 1:商品评论
     */
    public void setType(Boolean type) {
        this.type = type;
    }

    /**
     * 获取 星级 字段:comment.comment_rank
     *
     * @return comment.comment_rank, 星级
     */
    public Boolean getCommentRank() {
        return commentRank;
    }

    /**
     * 设置 星级 字段:comment.comment_rank
     *
     * @param commentRank the value for comment.comment_rank, 星级
     */
    public void setCommentRank(Boolean commentRank) {
        this.commentRank = commentRank;
    }

    /**
     * 获取  字段:comment.parent_id
     *
     * @return comment.parent_id, 
     */
    public Integer getParentId() {
        return parentId;
    }

    /**
     * 设置  字段:comment.parent_id
     *
     * @param parentId the value for comment.parent_id, 
     */
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取 评论时间 字段:comment.add_time
     *
     * @return comment.add_time, 评论时间
     */
    public Integer getAddTime() {
        return addTime;
    }

    /**
     * 设置 评论时间 字段:comment.add_time
     *
     * @param addTime the value for comment.add_time, 评论时间
     */
    public void setAddTime(Integer addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取  字段:comment.content
     *
     * @return comment.content, 
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置  字段:comment.content
     *
     * @param content the value for comment.content, 
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}